package com.daka.vo.response;

import com.daka.entity.Team;
import lombok.Data;
import lombok.ToString;

/**
 * Created by yangx
 * CreateTime: 2016/12/12 17:46
 */

@Data
@ToString
public class AreaVo {
    /**
     * .
     */
    private Long area;

    /**
     * .大区名称
     */
    private String areaName;

    public static AreaVo build(Team team) {
        AreaVo areaVo = new AreaVo();
        areaVo.setArea(team.getArea());
        areaVo.setAreaName(team.getAreaName());
        return areaVo;
    }
}
